And then run it:
```shell
-$ ./target/hello_world
+$ ./target/debug/hello_world
Hello, world!
```
<span style="font-weight: bold"
class="s1"> Fresh</span> hello_world v0.0.1 (file:///path/to/project/hello_world)
<span style="font-weight: bold"
-class="s1"> Running</span> `target/hello_world`
+class="s1"> Running</span> `target/debug/hello_world`
Hello, world!</code></pre>
You'll now notice a new file, `Cargo.lock`. It contains information about our
dependencies. Since we don't have any yet, it's not very interesting.
+Once you're ready for release, you can use `cargo build --release` to compile your files with optimizations turned on:
+
+<pre><code class="language-shell"><span class="gp">$</span> cargo build --release
+<span style="font-weight: bold"
+class="s1"> Compiling</span> hello_world v0.0.1 (file:///path/to/project/hello_world)</code></pre>
+
## Adding a dependency
It's quite simple to add a dependency. Simply add it to your `Cargo.toml` file: